package ooday01;

public class CarTest {
    public static void main(String[] args) {
        Car bm = new Car();
        bm.brand = "宝马";
        bm.color ="红";
        bm.capacity=5;
        bm.price= 687239;
        bm.start();
        bm.run();
        bm.stop();
        Car bc = new Car();
        bc.start();
        bc.run();
        bc.stop();
        Car ad = new Car();
        ad.brand="奥迪";
        ad.color= "银";
        ad.capacity=4;
        ad.price=473839;
        ad.start();
        ad.run();
        ad.stop();
    }
}
